package edu.udel.mboch.towerdefense;

import java.io.Serializable;
import java.util.ArrayList;

public abstract class Game implements Serializable
{
	private static final long serialVersionUID = 237984331757711025L;
	protected ArrayList<Actor> actors;
	
	public Game()
	{
		actors = new ArrayList<Actor>();
	}
	
	public void addActor(Actor a)
	{
		actors.add(a);
	}
	
	public abstract Player getWinner();
	
	public abstract TDState getState();
	
	public abstract boolean isEnd();
	
	public abstract void update();
	
	public abstract void restart();
}
